package com.stevenmoon.csdnplus.bean.bbs;

import com.stevenmoon.csdnplus.app.Constants;

/**
 * Created by WangJun on 2016/5/7.
 */
public class ForumTopicListReqBean {

    /*
    page	1
    pagesize	20
    forum_id	MSSQL
    category	open：待解决
                closed:已解决
                recommend：精华

     */

    public static final String TOPIC_CATEGORY_OPEN = "open";
    public static final String TOPIC_CATEGORY_CLOSED = "closed";
    public static final String TOPIC_CATEGORY_RECOMMEND = "recommend";

    int page;
    int pagesize = Constants.CONFIG.DEFAULT_PAGE_SIZE;
    String forum_id;
    String category;

    public int getPage() {
        return page;
    }

    public ForumTopicListReqBean setPage(int page) {
        this.page = page;
        return this;
    }

    public int getPagesize() {
        return pagesize;
    }

    public ForumTopicListReqBean setPagesize(int pagesize) {
        this.pagesize = pagesize;
        return this;
    }

    public String getForum_id() {
        return forum_id;
    }

    public ForumTopicListReqBean setForum_id(String forum_id) {
        this.forum_id = forum_id;
        return this;
    }

    public String getCategory() {
        return category;
    }

    public ForumTopicListReqBean setCategory(String category) {
        this.category = category;
        return this;
    }
}
